<%@ page contentType="text/html; charset=UTF-8" language="java" import="java.sql.*" errorPage="/error.jsp" %>
<%@ page import="com.beans.log.*" %>
<%@ page import="com.business.log.*" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<%String title="修改收藏信息"; %>
<%@ include file="header.jsp" %>
<%	
	String favorNo=request.getParameter("no");
	LogFavorBus lfb=new LogFavorBus();
	LogFavorite lf=lfb.getFavorByNo(favorNo);
	LogListBus llb=new LogListBus();
%>
<form id="form1" name="form1" method="post" action="addfavor"> 
  <p>您收藏的日志：</p>
  <p>日志名：
    <label>
    <input name="logno" type="text"  disabled="disabled" id="logno" value="<%=((LogInfo)llb.getLogByNo(lf.getLogNo())).getLogTitle() %>" size="30"/>
	<input name="logno" type="hidden" value="<%=lf.getLogNo()%>"/>
    </label>
  </p>
  <p>收藏名：
    <label>
    <input name="favorname" type="text" id="favorname"   value="<%=lf.getFavName() %>"/>
    </label>
  </p>
  <p>介绍：</p>
  <p>
    <label>
    <textarea name="favorinfo" cols="40" rows="4" id="favinfo"> <%=lf.getFavInfo()%></textarea>
    </label>
  </p>
  <p>
    <input name="username" type="hidden" id="username" value="<%=username%>"/>
	<input name="action" type="hidden" value="update"/>
	<input name="no" type="hidden" value="<%=favorNo%>"/>
  </p>
  <p>
    <label>
		<br />
  &nbsp;<input type="image" src="images/submit.gif" />
      </label>
  </p>
</form>
<%@include file="footer.jsp"%>
</body>
</html>

